package com.damieoa.damieoa.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.sql.Date;

@Data
@Accessors
@TableName("staff")
public class Staff implements Serializable {

    @TableId(type = IdType.AUTO)
    private Integer id;                 //id(员工id)
    private String user_name;           //员工姓名
    private String gender;              //性别
    private Date birthday;              //员工出生日期
    private Integer height;             //员工身高
    private String id_card_number;      //员工身份证号码
    private String department;          //入职部门
    private String station;             //入职岗位
    private Date in_job_time;           //入职日期
    private Date in_work_time;          //参加工作时间
    private String employment_form;     //用工形式
    private String personnel_source;    //人员来源
    private String marital_status;      //婚姻状况
    private String political_outlook;   //政治面貌
    private String email;               //电子邮箱
    private String tel;                 //电话号码
    private String nationality;         //民族
    private String native_place;        //籍贯
    private String birth_place;         //出生地
    private String blood_type;          //血型
    private String education;           //最高学历
    private String degrees;              //最高学位
    private String university;          //毕业大学
    private String major;               //专业
    private Date graduation_date;       //毕业日期
    @TableField(exist = false)
    private String query_way;                //查询方式
    @TableField(exist = false)
    private String query_conditions;         //查询条件

}
